package com.kgcx.flight.service;

import com.kgcx.common.bean.ReturnData;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import com.kgcx.common.utils.http.HttpUtils;

@Service
public interface IFlightService {

    /**
     * 航班查询
     * @param fnum
     * @param date
     * @return
     */
    ReturnData<String> QueryFlight(String fnum, String date);

    /**
     * 订制推送
     * @param fnum
     * @param date
     * @param dep
     * @param arr
     * @return
     */
    ReturnData<String> Booking(String fnum, String date, String dep, String arr);

    /**
     * 监听推送
     * @param content
     * @return
     */
    ReturnData<String> Listener(String content);

}
